/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javabeans;

import java.util.ArrayList;

import java.util.List;

/**
 *
 * @author liweijiao
 */
public class Member extends User {

    private int id;
    private String email;
    private String password;
    private String gender;
    private String firstname;
    private String lastname;
    private List<GroupPlan> groups=new ArrayList<GroupPlan>();
    private List<Plan> personalplans=new ArrayList<Plan>();

    public Member() {
       
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public List<GroupPlan> getGroups() {
        return groups;
    }

    public void setGroups(List<GroupPlan> groups) {
        this.groups = groups;
    }

   

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Plan> getPersonalplans() {
        return personalplans;
    }

    public void setPersonalplans(List<Plan> personalplans) {
        this.personalplans = personalplans;
    }

   

    
   
}
